package com.dragon.modules.yuegou.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * uniapp openid 手机号 关系表实体类<br>
 * 对应的表为：sys_uniapp_openid_ref<br>
 * 
 * @author pbuilder generated
 * @date 2022-11-09 11:09:28
 * @company sgy
 * @version 2.0
 */
@TableName("sys_uniapp_openid_ref")
@ApiModel(description = "uniapp openid 手机号 关系表")
public class UniappOpenidRefEntity {
	protected String id;

    /** 绑定的手机号码 */
	@ApiModelProperty("绑定的手机号码")
	protected String mobile;

    /**  */
	protected String uniappOpenId;

    /** 第三方 appid */
	@ApiModelProperty("第三方 appid")
	protected String appid;

    /**  */
	protected LocalDateTime createdTime;

	/**
	 * 构造一个空uniapp openid 手机号 关系表实体对象
	 */
	public UniappOpenidRefEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个uniapp openid 手机号 关系表实体对象
	 * 
	 * @param other 其它对象
	 */
	public UniappOpenidRefEntity(UniappOpenidRefEntity other){
		super();
     	this.id = other.id;
     	this.mobile = other.mobile;
     	this.uniappOpenId = other.uniappOpenId;
     	this.appid = other.appid;
     	this.createdTime = other.createdTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取绑定的手机号码
	 * 
	 * @return mobile 绑定的手机号码
	 */
	public String getMobile() {
		return mobile;
	}
  	
	/**
	 * 设置绑定的手机号码
	 * 
	 * @param mobile 绑定的手机号码
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 获取
	 * 
	 * @return uniappOpenId 
	 */
	public String getUniappOpenId() {
		return uniappOpenId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param uniappOpenId 
	 */
	public void setUniappOpenId(String uniappOpenId) {
		this.uniappOpenId = uniappOpenId;
	}

	/**
	 * 获取第三方 appid
	 * 
	 * @return appid 第三方 appid
	 */
	public String getAppid() {
		return appid;
	}
  	
	/**
	 * 设置第三方 appid
	 * 
	 * @param appid 第三方 appid
	 */
	public void setAppid(String appid) {
		this.appid = appid;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

    public String toString() {
		return new StringBuilder().append("UniappOpenidRefEntity{").
			append("id=").append(id).
			append(",mobile=").append(mobile).
			append(",uniappOpenId=").append(uniappOpenId).
			append(",appid=").append(appid).
			append(",createdTime=").append(createdTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public UniappOpenidRefEntity copy() {
		return new UniappOpenidRefEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 绑定的手机号码 */
	public static final String COL_MOBILE = "mobile";

    /**  */
	public static final String COL_UNIAPP_OPEN_ID = "uniapp_open_id";

    /** 第三方 appid */
	public static final String COL_APPID = "appid";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";
}
